const mongoose=require('mongoose')

mongoose.connect('mongodb+srv://3129652273:liangyu521@cluster0.mjgyshm.mongodb.net/db_KaoQin').then(()=>{
    console.log('数据库连接成功');
}).catch(()=>{
    console.log('数据库连接失败')
})
module.exports=mongoose